// Copyright (C) 2012 by Johann Duscher <jonny.dee@gmx.net>
//
// This file is part of barcodeart-pp.
//
// barcodeart-pp is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// barcodeart-pp is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with barcodeart-pp. If not, see <http://www.gnu.org/licenses/>.

#pragma once

#include <QObject>

#include <barcodeart/qt_plugins.hpp>
#include <barcodeart/AWriterPlugin.hpp>

#include "barcodeart/svgwriter/svgwriter_global.hpp"


namespace barcodeart
{

namespace svgwriter
{

class SVGWRITERSHARED_EXPORT SVGWriterPlugin : public QObject, public AWriterPlugin
{
    Q_OBJECT
    Q_INTERFACES(barcodeart::IWriterPlugin)

public:
    SVGWriterPlugin();

    const char* getName() const;

    const char* getDesciption() const;

    IWriter::Ptr createWriter() const;

    IWriterConfig::Ptr createConfig() const;

    IWriterConfigView::Ptr createConfigView() const;
};

}

}
